#include "mainwindow.h"
#include <QApplication>
#include <ly_common_sdk.h>
#include <qdebug.h>
#include <qdir.h>
#include "global_config.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QString runPath = QCoreApplication::applicationDirPath();
    runPath = QDir(runPath).filePath("log");

    global_config::instance().init_log_config(runPath);
    SPDLOG_DEAM->info("***************** dream ui start ******************");

    MainWindow w;
    w.show();

    return a.exec();
}
